#ifndef TABVIDEOWIDGET_H
#define TABVIDEOWIDGET_H

#include <QWidget>

class VideoPlayWidget;

namespace Ui {
class TabVideoWidget;
}

class TabVideoWidget : public QWidget
{
    Q_OBJECT

public:
    explicit TabVideoWidget(QWidget *parent = nullptr);
    ~TabVideoWidget();

    void playPrev();
    void playNext();

private slots:

    void on_btnEditPlayList_clicked();

    void on_radioMute_toggled(bool checked);

    void on_radioRand_toggled(bool checked);

    void on_radioLoop_toggled(bool checked);

    void on_radioSing_toggled(bool checked);

    void on_btnPlay_clicked();

    void on_btnStop_clicked();

    void on_btnNext_clicked();

    void on_btnPrev_clicked();

private:
    Ui::TabVideoWidget *ui;
    QStringList m_playList;
    VideoPlayWidget* m_outerVideo;
};

#endif // TABVIDEOWIDGET_H
